package com.cskaoyan.service;

import com.cskaoyan.bean.bo.*;
import com.cskaoyan.bean.entity.Ad;
import com.cskaoyan.bean.vo.*;

import java.util.List;

public interface PromotionService {

    BasePageData getAdList(String name, String content, BaseParamBo paramBo);

    void deleteAd(AdBo adBo);

    BasePageData getCuList(String name, Short type, Short status, BaseParamBo paramBo);

    void deleteCu(CouponBo couponBo);

    CouponVo getCuById(Integer id);

    BasePageData getListUser(Integer couponId, Integer userId, Short status, BaseParamBo paramBo);

    BasePageData getTopics(String title, String subTitle, BaseParamBo paramBo);

    void deleteTopic(TopicBo topicBo);

    TopicVo updateTopic(TopicBo topicBo);

    TopicVo createTopic(TopicBo topicBo);

    CouponVo updateCoupon(UpdateCouponBo updateCouponBo);

    AdItems addAd(AdBo adBo);

    AdItems updateAd(AdBo adBo);

    TopicReadVo readTopic(Integer id);

    CouponVo addCoupon(AddCouponBo addCouponBo);

    void batchDelete(BatchDeleteBo batchDeleteBo);

    // 小程序 获取我的优惠券
    BasePageData<WxCouponMyListVo> getMyList(int status, BaseParam baseParam);

    // 获取所有enable是1,即已启动的广告位列表
    List<Ad> getAllEnableAds();

}
